﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="EditProduct.aspx.cs" Inherits="ProjectSem3.Admin.WebForm9" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentTabs" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPage" runat="server">


    <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server">
    </asp:ToolkitScriptManager>
 <div class="grid_9">
        <h1 class="dashboard">
            Products information
        </h1>
    </div>
    <div class="portlet">
        <div class="portlet-content nopadding">
            <table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
                <tr>
                    <th style="width:25%">
                        SupplierID
                    </th>
                   <td style="width:35%">
                        <asp:DropDownList ID="ddlSupplier" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td style="width:40%"></td>
                </tr>
                <tr>
                     <th >
                        CategoryID
                    </th>
                    <td >
                       <asp:DropDownList ID="ddlCategory" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <th >
                        Name
                    </th>
                    <td>
                        <asp:TextBox ID="TextBoxName" runat="server"></asp:TextBox>
                    </td><td></td>
                </tr>
                <tr><th >
                        Price
                    </th>
                   <td >
                        <asp:TextBox ID="TextBoxPrice" runat="server"></asp:TextBox>
                    </td><td></td>
                </tr>
                <tr>
                     <th >
                        Warranty
                    </th>
                   <td >
                        <asp:TextBox ID="TextBoxWarranty" runat="server"></asp:TextBox>
                    </td><td></td>
                </tr>
                <tr>
                   <th >
                        Status
                    </th>
                    <td >
                       <div style="vertical-align:middle">
                           <input id="Radio1" type="radio" name="rdostatus" runat="server"/>Enable
                           <input id="Radio2" type="radio" name="rdostatus" runat="server"/>Disable
                        </div>
                    </td><td></td>
                </tr>
                
                <tr>
                    <th >
                        Description
                    </th>
                    <td >
                        <textarea id="TextArea1Des" cols="30" name="S1" rows="6" runat="server"></textarea>
                    </td><td></td>
                </tr>
                <tr>
                    <th >
                        View
                    </th>
                    <td >
                        <asp:Label ID="LabelView" runat="server"></asp:Label>
                    </td><td></td>
                </tr>
                <tr>
                    <th >
                       Image 1<asp:HiddenField ID="hdfImgID1" runat="server" />
                    </th>
                    <td >
                        <asp:FileUpload ID="fileImg1" runat="server" /><asp:Label ID="lblFile1" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                    <td><span id="spImg1" runat="server"></span></td>
                    
                </tr>
                <tr>
                   <th >
                       Image 2<asp:HiddenField ID="hdfImgID2" runat="server" />
                    </th>
                    <td >
                        <asp:FileUpload ID="fileImg2" runat="server" />
                        <asp:Label ID="lblFile2" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                    <td><span id="spImg2" runat="server"></span></td>
                </tr>
                <tr>
                   <th >
                       Image 3<asp:HiddenField ID="hdfImgID3" runat="server" />
                    </th>
                    <td>
                        <asp:FileUpload ID="fileImg3" runat="server" /><asp:Label ID="lblFile3" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                    <td><span id="spImg3" runat="server" >
                        </span></td>
                </tr>
                <tr>
                    <td >
                       
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="Update" onclick="Button1_Click" />
                    </td><td></td>
                </tr>
            </table>
            </div>
            </div>
</asp:Content>
